#define _CRT_SECURE_NO_WARNINGS 1


#include<vector>
#include<iostream>

using namespace std;

vector<int> stableMountains(vector<int>& height, int threshold)
{
	vector<int> v;
	int size = height.size();
	for (int i = 1; i < size; i++)
	{
		if (height[i - 1] > threshold)
		{
			v.push_back(i);
		}
	}
	return v;
}

//int main()
//{
//	vector<int> v = { 10,1,10,1,10 };
//	
//	vector<int> ret = stableMountains(v, 10);
//	for (auto& e : ret)
//	{
//		cout << e << ' ';
//	}
//	cout << endl;
//
//	return 0;
//}